#ifndef __FILESYSTEMINDEXER__H_
#define __FILESYSTEMINDEXER__H_

#include <sys/dir.h>
#include <errno.h>
#include <iostream>
#include <string.h>
#include <vector>
#include "LinuxFileInfo.h"

class FileParser;
class SearchEngine;

class FileSystemIndexer {

 public:
     FileSystemIndexer(SearchEngine* engine);
     void indexFs(std::vector<std::string> paths,int action,std::string& response);

 private:
    SearchEngine* engine;
    FileParser* fileParser;

};

#include "../../parsers/FileParser.h"

#endif // FileSystemIndexer_h
